package com.example.pilipili.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import jakarta.validation.constraints.Size;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liyv
 * @since 2023-12-01
 */
@Data
public class Privileges implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Size(max = 15)
    private String name;

    @Size(max = 125)
    private String description;




    @Override
    public String toString() {
        return "Privileges{" +
        "id=" + id +
        ", name=" + name +
        ", description=" + description +
        "}";
    }
}
